package com.zzy;


import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

//@SpringBootApplication
//禁用 security 验证
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
//@EnableEurekaClient
//@ComponentScan("com.zzy") // 注解默认就会装配标识了@Controller，@Service，@Repository，
//@EntityScan("com.zzy.model")
@EnableCaching
@ComponentScan("com.zzy")
//@SpringBootApplication(exclude = org.activiti.spring.boot.SecurityAutoConfiguration.class)
@EnableDiscoveryClient
public class ActivitiFlowJar {
    public static void main( String[] args ) {
        SpringApplication.run(ActivitiFlowJar.class, args);
    }
}
